package Matrix;

public class ShowMatrix {
	public ShowMatrix(){}
	
	public void get_ShowMatrix(String str ,double[] Array){
		int row = Array.length;
		
		System.out.println("\n" + str + " = ");
		
		for(int i = 0 ; i < row ; i++){
			System.out.printf("%f\t" , Array[i]);
		}
		
		System.out.println();
	}
	
	public void get_ShowMatrix(String str , double[][] Array){
		int col = Array.length;
		int row = Array[0].length;
		
		System.out.println("\n" + str + " = ");
		
		for(int i = 0 ; i < col ; i++){
			for(int j = 0 ; j < row ; j++){
				System.out.printf("%f\t" , Array[i][j] );
			}
			System.out.println();
		}
		System.out.println();
		
	}

	public void get_ShowMatrix(String str , double number){
		System.out.println();
		System.out.println(str+" = ");
		System.out.println(number+"\n");
	}
	
	public void get_ShowMatrix(String str , int number){
		System.out.println();
		System.out.println(str+" = ");
		System.out.println(number+"\n");
	}
	
	public void get_ShowMatrix(String str , float number){
		System.out.println();
		System.out.println(str+" = ");
		System.out.println(number+"\n");
	}
	
}
